/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.senac.telas;

/**
 *
 * @author natã
 */
public class TelaCadastroTreinador extends javax.swing.JFrame {

    /**
     * Creates new form TelaCadastroTreinador
     */
    public TelaCadastroTreinador() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        lblmsg = new javax.swing.JLabel();
        btnConsultarJogador = new javax.swing.JButton();
        txtSobrenomeJogador = new javax.swing.JTextField();
        lblSobrenomeJogador = new javax.swing.JLabel();
        txtPosicaoJogador = new javax.swing.JTextField();
        lblPosicaoJogador = new javax.swing.JLabel();
        txtSalarioJogador = new javax.swing.JTextField();
        lblNomeJogador = new javax.swing.JLabel();
        btnDeletarJogador = new javax.swing.JButton();
        txtNomeJogador = new javax.swing.JTextField();
        btnSalvarJogador = new javax.swing.JButton();
        lblCadastroTreinador = new javax.swing.JLabel();
        lblDataNascJogador = new javax.swing.JLabel();
        txtDataNascJogador = new javax.swing.JTextField();
        lblSalarioJogador = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        lblmsg.setText("jLabel2");

        btnConsultarJogador.setText("Consultar");

        lblSobrenomeJogador.setText("Sobrenome:");

        txtPosicaoJogador.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtPosicaoJogadorActionPerformed(evt);
            }
        });

        lblPosicaoJogador.setText("Posição:");

        lblNomeJogador.setText("Nome:");

        btnDeletarJogador.setText("Deletar");

        btnSalvarJogador.setText("Salvar");

        lblCadastroTreinador.setText("Cadastro de Jogadores");

        lblDataNascJogador.setText("Data Nascimento:");

        lblSalarioJogador.setText("Salario:");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(107, 107, 107)
                        .addComponent(lblCadastroTreinador))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(22, 22, 22)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(lblPosicaoJogador)
                                    .addComponent(lblSalarioJogador))
                                .addGap(61, 61, 61)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(txtSalarioJogador)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(txtPosicaoJogador, javax.swing.GroupLayout.PREFERRED_SIZE, 227, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(0, 0, Short.MAX_VALUE))))
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(lblDataNascJogador)
                                    .addComponent(lblSobrenomeJogador)
                                    .addComponent(lblNomeJogador)
                                    .addComponent(btnSalvarJogador))
                                .addGap(18, 18, 18)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(txtNomeJogador, javax.swing.GroupLayout.PREFERRED_SIZE, 225, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(txtSobrenomeJogador)
                                    .addComponent(txtDataNascJogador)
                                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                        .addGap(10, 10, 10)
                                        .addComponent(btnDeletarJogador)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                        .addComponent(btnConsultarJogador))))))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(155, 155, 155)
                        .addComponent(lblmsg)))
                .addContainerGap(50, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lblCadastroTreinador)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblNomeJogador)
                    .addComponent(txtNomeJogador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblSobrenomeJogador)
                    .addComponent(txtSobrenomeJogador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblDataNascJogador)
                    .addComponent(txtDataNascJogador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(40, 40, 40)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblPosicaoJogador)
                    .addComponent(txtPosicaoJogador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblSalarioJogador)
                    .addComponent(txtSalarioJogador, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 19, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnDeletarJogador)
                    .addComponent(btnSalvarJogador)
                    .addComponent(btnConsultarJogador))
                .addGap(18, 18, 18)
                .addComponent(lblmsg)
                .addGap(20, 20, 20))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void txtPosicaoJogadorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtPosicaoJogadorActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtPosicaoJogadorActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(TelaCadastroTreinador.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(TelaCadastroTreinador.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(TelaCadastroTreinador.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(TelaCadastroTreinador.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new TelaCadastroTreinador().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnConsultarJogador;
    private javax.swing.JButton btnDeletarJogador;
    private javax.swing.JButton btnSalvarJogador;
    private javax.swing.JLabel lblCadastroTreinador;
    private javax.swing.JLabel lblDataNascJogador;
    private javax.swing.JLabel lblNomeJogador;
    private javax.swing.JLabel lblPosicaoJogador;
    private javax.swing.JLabel lblSalarioJogador;
    private javax.swing.JLabel lblSobrenomeJogador;
    private javax.swing.JLabel lblmsg;
    private javax.swing.JTextField txtDataNascJogador;
    private javax.swing.JTextField txtNomeJogador;
    private javax.swing.JTextField txtPosicaoJogador;
    private javax.swing.JTextField txtSalarioJogador;
    private javax.swing.JTextField txtSobrenomeJogador;
    // End of variables declaration//GEN-END:variables
}
